package com.mcxx.modules.miniSalvation.family.dao.read;

import com.mcxx.modules.miniSalvation.family.dto.BankDTO;
import com.mcxx.modules.miniSalvation.family.dto.BankExcelDTO;
import com.mcxx.modules.miniSalvation.family.dto.BankExcelMinDTO;
import com.mcxx.modules.miniSalvation.family.entity.BankEntity;
import com.mcxx.modules.miniSalvation.family.param.BankParam;
import com.yinhai.ta404.module.mybatis.mapper.Ta404SupportMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BankReadDao extends Ta404SupportMapper {


	List<BankDTO> getList(BankParam param);


	List<BankDTO> getBankPageMin(BankParam param);


	BankEntity getBankById(String id);


	List<BankEntity> getBankByMember(String memberId, String businessType);



	List<BankEntity> getBankByfamilyId(String familyId, String businessType);


	BankEntity getBankByFamilyIdEdit(String familyId,String memberId,  String businessType);


	BankEntity getBankByFamilyId(String familyId, String memberId, String businessType);


	List<BankEntity> getByIdCardAndBizType(String familyId);

	int getBusiOrder(@Param("accountIdcard") String accountIdcard);

	int getTemBusiOrder(@Param("accountIdcard") String accountIdcard);


	List<BankExcelDTO> exportBank(BankParam param);


	List<BankExcelMinDTO> exportBankMin(BankParam param);


	List<BankDTO> getTempBankList(BankParam param);

	List<BankEntity> getBankByApplyIdCardAndBizType(String applyIdCard, String bizCode);
}
